ALMaSS  1.0
The Animal, Landscape and Man Simulation System
LowPriority< ELEMTYPE > Class Template Reference

Used in event handling. More...

#include <lowqueue.h>

Inheritance diagram for LowPriority< ELEMTYPE >:

Public Member Functions

 LowPriority ()
 
void Push (ELEMTYPE a_element, long a_priority)
 
void Pop ()
 
bool Empty (void)
 
LowPriPair< ELEMTYPE > Bottom (void)
 

Detailed Description

template<class ELEMTYPE>
class LowPriority< ELEMTYPE >

Used in event handling.

Constructor & Destructor Documentation

◆ LowPriority()

template<class ELEMTYPE >
LowPriority< ELEMTYPE >::LowPriority ( )
inline
116  : priority_queue <LowPriPair< ELEMTYPE> >()
117  {}

Member Function Documentation

◆ Bottom()

template<class ELEMTYPE >
LowPriPair<ELEMTYPE> LowPriority< ELEMTYPE >::Bottom ( void  )
inline
135  {
136  return this->top();
137  }

◆ Empty()

template<class ELEMTYPE >
bool LowPriority< ELEMTYPE >::Empty ( void  )
inline
130  {
131  return this->empty();
132  }

◆ Pop()

template<class ELEMTYPE >
void LowPriority< ELEMTYPE >::Pop ( )
inline
125  {
126  this->pop();
127  }

◆ Push()

template<class ELEMTYPE >
void LowPriority< ELEMTYPE >::Push ( ELEMTYPE  a_element,
long  a_priority 
)
inline
120  {
121  this->push( LowPriPair<ELEMTYPE>( a_element, a_priority ));
122  }
Used in event handling.
Definition: lowqueue.h:84

The documentation for this class was generated from the following file: